<?php /* Smarty version 2.6.26, created on 2013-09-09 15:19:38
         compiled from user_edit.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'l', 'user_edit.tpl', 8, false),array('modifier', 'escape', 'user_edit.tpl', 12, false),array('modifier', 'date_format', 'user_edit.tpl', 25, false),array('modifier', 'ltpl', 'user_edit.tpl', 72, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "user-navi.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div class="site-wrap2 clearfix">
	<div class="box-edit">
		
		<?php echo $this->_tpl_vars['dzMessage']; ?>

		
		<form class="form-horizontal" method="post" action="<?php echo ((is_array($_tmp='user/edit')) ? $this->_run_mod_handler('l', true, $_tmp) : smarty_modifier_l($_tmp)); ?>
">
			<div class="control-group">
				<label class="control-label" for="fullname">Họ và tên</label>
				<div class="controls">
					<input type="text" id="fullname" name="user_fullname" placeholder="ex: Nguyen Van A" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['u']['user_fullname'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" />
				</div>
			</div>
			<div class="control-group">
				<label class="control-label" for="email">Email</label>
				<div class="controls">
					<input type="text" id="email" placeholder="ex:user@email.com" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['u']['user_email'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" readonly="readonly" />
				</div>
			</div>
			<div class="control-group">
				<label class="control-label" for="dob">Ngày sinh</label>
				<div class="controls">
					<div class="input-append date" id="dp3" data-date="" data-date-format="mm-dd-yyyy">
						<input class="span2" size="16" type="text" name="user_birthday" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['u']['user_birthday'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%m-%d-%Y') : smarty_modifier_date_format($_tmp, '%m-%d-%Y')); ?>
" />
						<span class="add-on"><i class="icon-calendar"></i></span>
					</div>
				</div>
			</div>
			<div class="control-group">
				<label class="control-label">Giới tính</label>
				<div class="controls">
					<label class="radio inline">
						<input type="radio" name="user_gender" id="optionsRadios1" value="option1" <?php if ($this->_tpl_vars['u']['user_gender'] == 0): ?>checked="checked"<?php endif; ?> />
						Nam </label>
					<label class="radio inline">
						<input type="radio" name="user_gender" id="optionsRadios2" value="option2" <?php if ($this->_tpl_vars['u']['user_gender'] == 1): ?>checked="checked"<?php endif; ?> />
						Nữ </label>
				</div>
			</div>
			<div class="control-group">
				<label class="control-label" for="address">Địa chỉ</label>
				<div class="controls">
					<input type="text" id="address" placeholder="ex:1 Trần Phú - Ba Đình - Hà Nội" name="user_address" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['u']['user_address'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" />
				</div>
			</div>
			<div class="control-group">
				<label class="control-label" for="phone">Điện thoại</label>
				<div class="controls">
					<input type="text" id="phone" placeholder="ex:09000000000" name="user_mobile" value="<?php echo $this->_tpl_vars['u']['user_mobile']; ?>
" />
				</div>
			</div>
			<div class="control-group">
				<label class="control-label" for="descrip">Giới thiệu</label>
				<div class="controls">
					<textarea rows="3" id="descrip" placeholder="ex:Ngon zai" name="user_desc"><?php echo $this->_tpl_vars['u']['user_desc']; ?>
</textarea>
				</div>
			</div>
			<div class="control-group">
				<div class="controls">
					<div class="formFooterButtons form-inline clearfix">
						<input type="submit" class="hasText Button color1 large ajax pull-left" value="Cập nhật" />
						<a href="<?php echo ((is_array($_tmp='<front>')) ? $this->_run_mod_handler('l', true, $_tmp) : smarty_modifier_l($_tmp)); ?>
" class="hasText Button color2 large ajax pull-left"> <span class="buttonText">Huỷ bỏ</span> </button>
					</div>
				</div>
			</div>
		</form>
	</div>
	<!--site conntainer--> 
</div>
<!-- js files -->
<script src="<?php echo ((is_array($_tmp='js/bootstrap-datepicker.js')) ? $this->_run_mod_handler('ltpl', true, $_tmp) : smarty_modifier_ltpl($_tmp)); ?>
" type="text/javascript" charset="utf-8"></script> 
<?php echo ' 
<script type="text/javascript">
$(\'#dp3\').datepicker()
	.on(\'changeDate\', function(ev){
					$(\'#dp3\').datepicker(\'hide\');
				});
</script>
'; ?>